from fastapi import APIRouter

from api.ai_move import ai_move
from api.welcome import welcome

api_router = APIRouter(prefix='/api', tags=['api'])

api_router.add_api_route(path='/welcome', endpoint=welcome, methods=['GET'])
api_router.add_api_route(path='/ai_move', endpoint=ai_move, methods=['POST'])
